﻿<%@ Page Language="C#"   MasterPageFile="~/FrameMasterPage.master" AutoEventWireup="true" CodeFile="EquipOtherInformationModify.aspx.cs" Inherits="Frame_Equipment_EquipOtherInformationModify" %>
<%@ Register Assembly="EclipseWebSolutions.DatePicker" Namespace="EclipseWebSolutions.DatePicker"
    TagPrefix="ews" %>
<%@ Register assembly="StrengthControls.Scrolling" namespace="StrengthControls.Scrolling" tagprefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<asp:Content ID="Content1" runat="server" contentplaceholderid="m_contentBody">
    
   <asp:Panel runat="server" ID="pnlBody"> 
    <div>
    <table cellpadding="0" cellspacing="4" class="GridItem" style="width:auto">
    <tr>
        <td  valign="top" style="width:300px">
        &nbsp;
          
                    <table cellpadding="2" cellspacing="2" style="width:auto">
                    <tr><td colspan="2" class="BigLabelLeftAlign">Equipment Information <br /><br /></td></tr>
                     <tr><td align ="left" style="width:50px">System</td><td align="left">
                                <asp:DropDownList ID="drlSystem" runat="server" Height="25px" Width="176px" 
                                    AutoPostBack="True" CausesValidation="True" 
                                    onselectedindexchanged="drlSystem_SelectedIndexChanged" AppendDataBoundItems="True" 
                                   >
                                    <asp:ListItem Value="-1">--- System ---</asp:ListItem>
                                </asp:DropDownList>
                          </td>
                                                            </tr>
                <tr><td align ="left" style="width:300px">Equipment type</td><td align="left">
                                <asp:DropDownList ID="drlEquipmentType" runat="server" Height="25px" 
                                    Width="176px" AppendDataBoundItems="True">
                                    <asp:ListItem Value="-1">--- Equipment type ---</asp:ListItem>
                                </asp:DropDownList>
                                                            </td>
                                                             
                                                            </tr>
                        <tr>
                            <td align="left" style="width: 125px">
                                Serial number</td>
                            <td align="left" style="width: 202px">
                                <asp:TextBox ID="txtSerialNumber" runat="server" Height="19px" 
                                    style="margin-left: 0px" Width="171px"></asp:TextBox>
                            </td>
                             
                        </tr>
                       
                        <tr>
                            <td align="left" style="width: 125px">
                                Estimated EOL</td>
                            <td align="left" style="width: 202px">
      
                                   <%-- <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <ews:DatePicker ID="txtEstimatedEOF" runat="server" DateFormatString="MM/dd/yyyy" 
                                                 />
                                        </ContentTemplate>
                                    </asp:UpdatePanel>--%>
                                    
                                     <asp:TextBox ID="txtEstimatedEOF" runat="server" Width="76px"></asp:TextBox>
                                    <asp:Image ID="imgCalendar" runat="server" ImageUrl="~/images/calendar.png" />
                                    <cc2:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtEstimatedEOF" PopupButtonID="imgCalendar">
                                </cc2:CalendarExtender> 
                            </td>
                            
                       
                        </tr>
                        <tr>
           <td align="left" style="width: 111px">
                             
                              <asp:CheckBox ID="chkstock" runat="server" 
                                    oncheckedchanged="chkIsInStock_CheckedChanged" AutoPostBack="True" 
                                    CausesValidation="True" Text="If in stock"/>
                             </td>
                            <td align="left" style="width: 178px" class="style1">
                                <asp:DropDownList ID="drlStockUser" runat="server" Height="25px" Width="176px" 
                                    AppendDataBoundItems="True">
                                    <asp:ListItem Value="-1">--- User ---</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        
                        
                        <tr>
           <td align="left" style="width: 111px">
                             &nbsp;</td>
                            <td align="left" style="width: 178px" class="style1">
                                                <asp:Label ID="lblRequiredStockUser" runat="server" 
                                    ForeColor="Red" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        
                        
                        <tr>
           <td align="left" style="width: 111px">
            <asp:CheckBox ID="chkIsDamaged" runat="server" Text="Is damaged"/>&nbsp;</td>
                             
                            <td align="left" style="width: 178px" class="style1">
                            </td>
                        </tr>
                        
                        
        </table>
        </td>
        <td>
                    
        <table>
        <tr><td colspan="2" class="BigLabelLeftAlign" valign="top">Owner's Information <br /><br /></td></tr>
        
        <tr>
                             <td align="left" style="width: 111px">
                                                          
                                <asp:CheckBox 
                                    ID="chkdepart" runat="server" 
                                    oncheckedchanged="chkAllDepartment_CheckedChanged" AutoPostBack="True" 
                                     Text="All departement" />
                                        </td>                  
                                
                            <td align="left" style="width: 178px" class="style1">
                                <asp:DropDownList ID="drlDepartment" runat="server" Height="25px" Width="176px" 
                                    onselectedindexchanged="drlDepartment_SelectedIndexChanged" 
                                    AutoPostBack="True" CausesValidation="True" AppendDataBoundItems="True" 
                                    >
                                    <asp:ListItem Value="-1">--- Department ---</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            </tr>
           <tr>
           <td align="left" style="width: 111px">
                                     Owner<td align="left" style="width: 178px" class="style1">
                                <asp:DropDownList ID="drlEmployee" runat="server" Height="25px" Width="176px" 
                                    AppendDataBoundItems="True">
                                    <asp:ListItem Value="-1">--- Owner ---</asp:ListItem>
                                </asp:DropDownList>
                            </td>
           </tr>
           <tr>
           <td align="left" style="width: 111px">
                                Location</td>
                            <td align="left" style="width: 178px" class="style1">
                                <asp:DropDownList ID="drlLocation" runat="server" Height="25px" Width="176px" 
                                    AppendDataBoundItems="True">
                                    <asp:ListItem Value="-1">--- Location ---</asp:ListItem>
                                </asp:DropDownList>
                            </td>
           </tr>
           <tr>
            <td align="left" style="width: 111px">
                                Building</td>
                            <td align="left" style="width: 178px" class="style1">
                                <asp:DropDownList ID="drlBuilding" runat="server" DataMember="BuildingLabel" 
                                    Height="25px" Width="176px" AppendDataBoundItems="True">
                                    <asp:ListItem Value="-1">--- Building ---</asp:ListItem>
                                </asp:DropDownList>
                            </td>
           </tr>
           <tr><td align="left" colspan="2">
                     &nbsp;<br />    
            
    <asp:Button ID="btnValidate" runat="server" Height="25px" Text="Validate" 
        Width="71px" BorderStyle="Dotted" onclick="btnValidate_Click" CssClass="btnexpress" /><asp:Label ID="lblMessageValidate" runat="server" CssClass="permissionstyle"></asp:Label>
            
                <br /></td></tr>
                 <!--this three lines used to maintain scroll position  -->
                <div id="div1" style="OVERFLOW:auto;WIDTH:300px;HEIGHT:30px;border:1px">
            </div>
                <cc1:SmartScroller ID="SmartScroller1" runat="server" TargetObject="div1">
                </cc1:SmartScroller>
                    </table>
               
               
                </td>
        </tr>
        <tr>
        
                            <td align="left" style="width: 125px">
                                &nbsp;</td>
                            <td align="left" style="width: 202px">
                                
                                
      
                              <asp:UpdatePanel ID="pnlDatePicker" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <ews:DatePicker ID="txtDateEnter" runat="server" DateFormatString="MM/dd/yyyy" Visible="False" 
                                                />
                                        </ContentTemplate>
                                 </asp:UpdatePanel>
                              
                                   
                               
                            </td>
                        </tr>
        </table>
        
        </div>
        </asp:Panel>
    
    </asp:Content>
    
  

